import http from "@/utils/http";

export function getLogInfo(baseUrl,params) {
  return http.get(
    `${baseUrl?baseUrl:""}/api/log/getLogInfo?page=${params.current}&limit=${params.pageSize}`
  );
}
export function addLogInfo(baseUrl,params) {
  return http.post(`${baseUrl?baseUrl:""}/api/log/addLogInfo`, params);
}
export function getAllLogInfo(baseUrl) {
  return http.get(
    `${baseUrl?baseUrl:""}/api/log/getAllLogInfo`
  );
}